//
 
#import "NT_HomeReusableView.h"

//
@interface NT_HomeReusableView ()

@end
@implementation NT_HomeReusableView

- (instancetype)initWithFrame:(CGRect)frame {
    if ([super initWithFrame:frame]) {
        //
        self.advScrollView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 0, kMainScreenWidth, kRelativeHeight(200)) delegate:self placeholderImage:nil];
        self.advScrollView.autoScrollTimeInterval = 3;
        self.advScrollView.localizationImageNamesGroup = [NSArray arrayWithObjects:[UIImage imageNamed:@"bg_016"],[UIImage imageNamed:@"bg_017"],[UIImage imageNamed:@"bg_020"], nil];
//        self.advScrollView.clickItemOperationBlock = ^(NSInteger currentIndex) {
//            //            if (weakSelf.block) {
//            //                weakSelf.block(currentIndex);
//            //            }
//        };
        [self addSubview:self.advScrollView];
        
        
    }
    return self;
}
@end
